/*
* @@Description: 检测管理接口
*/
import xjaxios from "@/api/axios";
import zhreq from "@/api/axios";
export default {
  postDeteionNange(param) {
    return xjaxios.post("v3/detection/detection/queryDetectionPageList", param)
  },
  queryDeteionNange(param) {
    return xjaxios.post("v3/detection/detection/queryByCondition", param)
  },
  /**
   * @description: 批次条件查询 *代表必填
   */
  querybylist(params) {
    return zhreq.post("/v3/batch/productionBatch/queryByCondition", {
      ...params,
      organizationNo: sessionStorage.organizationNo
    });
  },
  getColectPicture(e) {
    return zhreq.get(`/v3/detection/detectionPicture/query?detectionPictureId=${e}`);
  }
}
